package com.yisu.auction.api.core.mapper;

import com.yisu.auction.api.domain.request.prizePackage.GoodsTypeRequest;
import com.yisu.auction.api.domain.vo.goodsInfoPackageVos.GoodsTypeVo;
import com.yisu.auction.ewf.entity.GoodsType;

import java.util.List;

public interface GoodsTypeMapper {
    int deleteByPrimaryKey(Long id);

    int insert(GoodsType record);

    int insertSelective(GoodsType record);

    GoodsType selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(GoodsType record);

    int updateByPrimaryKey(GoodsType record);

    /**
     * author: 赵杰
     * Business Description：获取商品类型列表
     * @return
     */
    List<GoodsTypeVo> getGoodsTypeList(GoodsTypeRequest goodsTypeRequest);
}